package com.lantosec.hmrp.modules.system.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.lantosec.hmrp.core.kit.tree.TreeNodeVo;
import com.lantosec.hmrp.modules.system.entity.SysArea;

import java.util.List;

/**
 * <p>
 * 区域表 服务类
 * </p>
 *
 * @author AutoCode
 * @since 2020-02-24
 */
public interface ISysAreaService extends IService<SysArea> {

    List<TreeNodeVo> getAreaTree();

    List<TreeNodeVo> getUserAreaTree();

    List<TreeNodeVo> getUserDeptTree();

    void create(SysArea entity);

    void updateOrder(String id, Integer areaOrder);
}
